/* 全局加载样式 */
.global-loading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: #f8fafc;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(59, 130, 246, 0.3);
  border-radius: 50%;
  border-top-color: #3b82f6;
  animation: spin 1s ease-in-out infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.global-loading p {
  color: #64748b;
  font-size: 1.125rem;
  font-weight: 500;
}

/* 移动设备适配 */
@media (max-width: 768px) {
  .global-loading {
    padding: 1rem;
  }

  .loading-spinner {
    width: 40px;
    height: 40px;
    border-width: 4px;
  }

  .global-loading p {
    font-size: 1rem;
  }
}
